﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SISLOG.BusinessEntities
{
    public class DetalleOrdenCompra
    {
        public Int32 idDetalleOrdCompra { get; set; }
        public Int32 idMaterial { get; set; }
        public Int32 idOrdenCompra { get; set; }
        public String descripcion { get; set; }
        public Int32 cantidad { get; set; }

        public Int32 CodigoLabel { get; set; }

        private Material _material;

        public Material Material
        { get{return _material; }
          set
          {
              _material = value;
              CodigoLabel = value.idMaterial;
          }
        }
    }
}
